package com.group4.edu.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.group4.edu.entity.Video;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 课程视频 服务类
 * </p>
 *
 * @author cloud
 * @since 2022-03-10
 */
public interface VideoService extends IService<Video> {
    /**
     * 通过课程id删除视频
     * @param courseId
     */
    void deleteVideoByCourseId(String courseId);

    @Override
    List<Video> list(Wrapper<Video> queryWrapper);
}
